﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UFSSServerClasses
{
    public class UFSSSubscription
    {
        public int subid;
        public string subName;
        public string type;
        public int members;
        public int files;
        public string ownername;
        public DateTime lastup;
        public string latfile;

        public UFSSSubscription()
        {
        }

        public UFSSSubscription(int id, string ownername, string name, string type, int members = 0, int files = 0)
        {
            this.subid = id;
            this.subName = name;
            this.type = type;
            this.files = files;
            this.members = members;
            this.ownername = ownername;
        }

        public UFSSSubscription(int id, string ownername, string name, string type, DateTime lastup, string latfile, int members = 0, int files = 0)
        {
            this.subid = id;
            this.subName = name;
            this.type = type;
            this.files = files;
            this.members = members;
            this.ownername = ownername;
            this.lastup = lastup;
            this.latfile = latfile;
        }
    }
}
